package com.itheima.day13.thread.test15;

// 桌子类
public class Desk {
    // 定义唯一钥匙
    private final Object obj = new Object();

    // 汉堡包个数变量
    private int count;

    // 定义标签，判断桌子上是否有汉堡包
    private boolean boo;

    public Desk() {
    }

    public Desk(int count, boolean boo) {
        this.count = count;
        this.boo = boo;
    }

    public Object getObj() {
        return obj;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public boolean isBoo() {
        return boo;
    }

    public void setBoo(boolean boo) {
        this.boo = boo;
    }
}
